package zipTest;


import java.io.IOException;

public class ZipTest {

    public static void main(String[] args) {
        try {
            int[] number=new int[]{0,1,2,3,4,5,6,7,8,9};
            char[] lowerCase=new char[]{'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
            char[] upperCase=new char[]{'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'};
            char[] sign=new char[]{'`','~','!','@','#','$','%','^','&','*','(',')','-','=','[',']',';','\'','\\',',','.','/','_','+','{','}','|',':','"','<','>','?'};
            for(int a:number){
                for(int b:number){
                    for(int c:number){
                        for(int d:number){
                            for(int e:number){
                                for(int f:number){
                                    String command=a+""+b+""+c+""+d+""+e+""+f;
                                    Runtime.getRuntime().exec("unzip -P "+command+" \"C:\\Users\\99585\\Downloads\\2019免费查看器+15种免费方法.zip\" -d \"C:\\Users\\99585\\Downloads\"");
                                }
                            }
                        }
                    }
                }
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
